<!--{template admin/header}-->



<form method="post" name="settings" action="nanbo.php?mod=tag&code=do_recommend">

    <a name="热门推荐话题设置"></a>
    <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
        <tr class="header">
    		<td colspan="2">热门推荐话题设置</td>
    	</tr>
    	<tr>
    		<td width="45%"><b>是否启用？</b><br />
            <span class="smalltxt">启用后，可以我的微博页面显示热门推荐话题内容。</span>
            </td>
    		<td>{$hot_tag_recommend_enable_radio}</td>
    	</tr>
        <tr>
    		<td width="45%"><b>模块名称？</b><br />
            <span class="smalltxt">默认为“热门推荐话题”。</span>
            </td>
    		<td><input type="text" name="hot_tag_recommend[name]" value="{$hot_tag_recommend[name]}" /></td>
    	</tr>
        <tr>
    		<td width="45%"><b>显示数量？</b><br />
            <span class="smalltxt">默认为“10”。</span>
            </td>
    		<td>{$hot_tag_recommend_num_select}</td>
    	</tr>        
    </table>
    <center><input type="submit" class="button" name="settingsubmit" value="提交设置" /></center><br />

	<a name="热门推荐话题列表"></a>
	<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
		<tr class="header"> 
            <td>启用</td>
            <td>推荐话题</td>
            <td>话题描述（可留空）</td>
			<td>排序</td>
            <td>管理</td>          
		</tr>
        {loop $hot_tag_recommend_list $k $hot_tag_recommend}
		<tr>
            {eval $_checked = $hot_tag_recommend[enable] ? ' checked checked="true" ' : '';}
			<td valign="top"><input type="hidden" name="_list[{$k}][enable]" value="{$hot_tag_recommend[enable]}" /><input type="checkbox" name="hot_tag_recommend[list][{$k}][enable]" value="1" {$_checked} /></td>
            <td valign="top"><input type="hidden" name="_list[{$k}][name]" value="{$hot_tag_recommend[name]}" /><input type="text" name="hot_tag_recommend[list][{$k}][name]" value="{$hot_tag_recommend[name]}" size="20" /></td>
            <td valign="top"><input type="hidden" name="_list[{$k}][desc]" value="{$hot_tag_recommend[desc]}"  /><input type="text" name="hot_tag_recommend[list][{$k}][desc]" value="{$hot_tag_recommend[desc]}"  size="80"/></td>
            <td valign="top"><input type="hidden" name="_list[{$k}][order]" value="{$hot_tag_recommend[order]}" /><input type="text" name="hot_tag_recommend[list][{$k}][order]" value="{$hot_tag_recommend[order]}" size="5" /></td> 
            <td valign="top"><a href="nanbo.php?mod=tag&code=do_recommend&act=delete&id={$k}">删除</a></td>
		</tr>
        {/loop}
        {if $page_arr[html]}
        <tr>
        	<td colspan="5">{$page_arr[html]}</td>
        </tr>
        {/if}
        <tr>
			<td><input type="checkbox" name="hot_tag_recommend_new[0][enable]" value="1" checked checked="true" /></td>
            <td><input type="text" name="hot_tag_recommend_new[0][name]" value="" size="20" /></td>
            <td><input type="text" name="hot_tag_recommend_new[0][desc]" value="" size="80" /></td>
            <td><input type="text" name="hot_tag_recommend_new[0][order]" value="" size="5" /></td> 
            <td>&nbsp;</td>
		</tr>
	</table>
	<center><input type="submit" class="button" name="settingsubmit" value="提交设置" /></center><br />
    
</form>
<br />
